projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd18366
)
(dired-get-filename): Don't use dired-re-dot.
author
Andreas Schwab
<schwab@suse.de>
Sun, 30 May 2004 18:23:19 +0000
(18:23 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Sun, 30 May 2004 18:23:19 +0000
(18:23 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 8bdfe1befcef124e8dab682a70cbe3921582f5b3..3d4491cc819b5ea00e98cd22653c4eccf32d5e40 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-1634,9
+1634,7
@@
Otherwise, an error occurs in these cases."
((eq localp 'verbatim)
file)
((and (not no-error-if-not-filep)
- (save-excursion
- (beginning-of-line)
- (looking-at dired-re-dot)))
+ (member file '("." "..")))
(error "Cannot operate on `.' or `..'"))
((and (eq localp 'no-dir) already-absolute)
(file-name-nondirectory file))